package org.zpmis.domain.user.enums;

public enum EmployeeEnum {

    /**
     * 用户是否删除
     */
    NOT_DELETE(0, "未删除"),
    DELETED(1, "已删除"),

    /**
     * 性别
     */
    FEMALE(0,"女"),
    MALE(1,"男"),
    OTHER(2,"其他"),

    /**
     * 证件类型
     */
    ID_CARD(1,"身份证"),
    PASSPORT(2,"护照"),
    DRIVING_LICENCE(3,"驾驶证"),
    /**
     * 员工类型
     */
    EMP_ORDINARY(1,"普通员工"),
    EMP_LEADER(2,"部门领导"),
    EMP_MANAGER(3,"公司董事"),

    /**
     * 员工状态
     */
    ON_THE_JOB(1,"在职"),
    DIMISSION(2,"离职")
    ;

    private int code;
    private String message;

    EmployeeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int code() {
        return this.code;
    }


    public String message() {
        return this.message;
    }
}
